package com.gao.dao;

import com.gao.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface DeptDao {

    public Dept getDept(@Param("id") Integer id);

    public List<Dept> getDeptAll();

    public void addDept(Dept dept);
}
